Skip to content

feat(knowledge): resolution reuse — RCA becomes a reusable ARM asset with Next-Best-Action - #41

Merged
mdheller merged 1 commit into
mainfrom
feat/resolution-reuse
Aug 4, 2026
Merged

feat(knowledge): resolution reuse — RCA becomes a reusable ARM asset with Next-Best-Action#41
mdheller merged 1 commit into
mainfrom
feat/resolution-reuse

Conversation

@mdheller

@mdheller mdheller commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

What

Closes the ARM feedback loop for root-cause work — the IBM Asset-Reuse-Manager pattern (Domain → Category → Asset → Recommendation → Feedback) and "Next Best Action for a Case". A Resolution asset produced by the RCA pipeline (the tagged, content-addressed record with the root-cause graph SVG) is now deposited into the real continuum commons, found again when the failure recurs, and reused.

deposit_resolution   → commons (asset_type="resolution", keyed by failure-class; reproducible iff it carries the graph digest)
next_best_action     → when the same failure class recurs, return the prior resolution to APPLY (recommendation, not re-investigation)
apply_resolution     → commons.record_use → reuse score rises, so proven resolutions rank first

Demo (real): deposit the Nix→Guix resolution → a new same-class case finds it → applied → reuse {uses:1, evaluations:1, score:1.0}, recommendation "apply Firewall #1 (adr_swap_gate) before authoring in scope".

Why it's not an island

Thin adapter over the existing commons.Commons (deposit/search/recommend/record_use) — no parallel store. Resolutions become first-class, searchable, reusable estate knowledge alongside capabilities/workloads/models.

Wired in

capd/resolution-reuse.mesh.capd.json (caps.knowledge.resolution-reuse), validate.py, Makefile reuse.

Tests

+6 = 240 tools tests green — deposit is a reproducible resolution asset (declared without a graph digest); Next-Best-Action finds the prior resolution for a failure class and is empty for a genuinely new one; apply records reuse and ranks most-reused first; the lang filter excludes unrelated swaps.

This is the reuse half of the RCA→HellGraph + Resolution-asset pipeline (producer + graph ingest live in prophet-platform#1392; enforcement in source-os#325).

🤖 Generated with Claude Code

…with Next-Best-Action

Closes the ARM feedback loop for root-cause work (IBM Asset-Reuse-Manager: Domain→Category→Asset→
Recommendation→Feedback + "Next Best Action for a Case"). A Resolution asset produced by the RCA
pipeline is deposited into the REAL continuum commons (asset_type="resolution", keyed by failure-class),
marked reproducible iff it carries the graph digest. When the same failure class recurs,
next_best_action() returns the prior resolution to apply — recommendation, not a fresh investigation —
and apply_resolution() feeds the ARM reuse loop (commons.record_use) so proven resolutions rank first.

Thin adapter over the existing commons.Commons (deposit/search/recommend/record_use) — no parallel
store, no island. Demo: deposit the Nix→Guix resolution → a new same-class case finds it → applied →
reuse score 1.0. capd caps.knowledge.resolution-reuse; validate + Makefile `reuse` wired.
Tests: +6 = 240 tools tests green.
@mdheller
mdheller merged commit 281171d into main Aug 4, 2026
1 check passed
@mdheller
mdheller deleted the feat/resolution-reuse branch August 4, 2026 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant